package com.bida.dao;

import org.springframework.stereotype.Repository;

import com.bida.core.entity.User;
import com.bida.core.mongo.MongodbDao;

/**
 * 
 * @author chenli
 *
 */
@Repository("userDao")
public class UserDao extends MongodbDao<User> {


    @Override
    protected Class<User> getEntityClass() {
        return User.class;
    }

    @Override
    protected String getIdProName() {
        return User.USERID;
    }


}
